<template>
	<div>
		<div class="company-name" @click="inforClick">
			<p>
				<span class="names">{{name}}</span>
				<img src="../../images/right.png" />
			</p>
			<p style="height: auto;">
				<span class="main-type">业务范围:{{companyType}}</span>
			</p>
		</div>
	</div>	
</template>

<script>
	import { getStore } from '../../config/mUtils'
	export default{
		name:'Header',
		data(){
			return{
				name: getStore('name'),
				companyType: getStore('scopeBusinessNames')
			}	
		},
		methods: {
			inforClick() {
				this.$router.push('/mineInformation')
			}
		},
	}
</script>

<style>
</style>
